package com.castudio.Service;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.castudio.Common.RespPageEntity;
import com.castudio.Entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
//import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小陈同学
 * @since 2022-12-14
 */
public interface UserService extends IService<User> {
    RespPageEntity getAllUserByPage(Integer page, Integer size,String realname);
    void updateUser(String fileUrl,String dormnum,String gender,String nickname,
              String phone,String realname,String stunum,String openid);
    String getOpenId(String code);
    IPage<User> getPage(Integer currentPage, Integer PageSize, User user);

    IPage<User> getPage(Integer currentPage, Integer pageSize);
}
